﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace reminder_csh
{
    public class Task
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public bool Done { get; set; }
        public DateTime Deadline { get; set; }
        public virtual ICollection<Worker> Workers { get; set; }

        public override string ToString()
        {
            return string.Format(Name);
        }
    }
}
